home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Collection of Tools & Utilities
/
Collection of Tools and Utilities.iso
/
basic
/
6300gray.zip
/
README
< prev
Wrap
Text File
|
1988-08-16
|
2KB
|
44 lines
G R A Y S C A L E
P L O T T I N G P R O G R A M
F O R T H E
A T & T P C 6 3 0 0
12 AUGUST 1988
The program in this archive will plot a two dimensional array of data
of size up to 128 by 128 as pixels with shades of gray from 0 to F.
It is a GWBASIC program that makes use of the 640 by 400 screen of the
AT&T PC6300. The programming is very straightforward and there is
sufficient documentation to describe how the pixels are drawn.
GRAY.BAS This program generates a gray scale plot of a
rectangular array of data. The data is assumed to
consist only of the hexadecimal digits 0..F (one digit
per pixel). To run the program type GWBASIC GRAY, the
screen clears and then prompts for the name of a data
file, e.g. DIPOLE.DAT. After the first time that a
data file has been plotted a screen image is saved in a
disk file and then loaded into memory whenever this
data is replotted. To exit the program and return to
DOS press the F10 key.
GRAYTEST.BAS Draws a gray scale bar in the middle of the screen to
test new patterns that you design. Fully documented.
DIPOLE.DAT 128 by 128 data file of the scattered sound pressure
caused by a small gaussian variation in density in an
otherwise homogeneous medium. As shown in texts on
theoretical acoustics, density variations act like
dipole sources of radiation.
DIPOLE.SAV The screen image saved after plotting DIPOLE.DAT once.
Brent Carruth
University of Utah